package lyh.service.impl;

import lyh.dao.TAlbumMapper;
import lyh.entity.TAlbum;
import lyh.service.TAlbumService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by DXM_0010 on 2018/11/6.
 */
@Service
public class TAlbumServiceImpl implements TAlbumService {
    @Autowired
    private TAlbumMapper tAlbumMapper;
    @Override
    public TAlbum getTAlbum(Long id) {
        TAlbum tAlbum = tAlbumMapper.selectByPrimaryKey(id);
        return tAlbum;
    }
}
